package com.yl.auth.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yl.auth.entity.Renwukanban;
import com.yl.auth.mapper.RenwukanbanMapper;
import com.yl.auth.service.RenwukanbanService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ln
 * @since 2023-07-14
 */
@Service
public class RenwukanbanServiceImpl extends ServiceImpl<RenwukanbanMapper, Renwukanban> implements RenwukanbanService {
    @Resource
    private RenwukanbanMapper renwukanbanMapper;


    @Override
    public Renwukanban getrenwukanbanById(Integer id) {
        return renwukanbanMapper.getrenwukanbanById(id);
    }


    @Override
    public Page<Renwukanban> getrenwukanbans(Page<Renwukanban> pageParam, String hname, Integer zhuangtai) {
        return renwukanbanMapper.getrenwukanbans(pageParam, hname, zhuangtai);
    }


    @Override
    public List<Renwukanban> getrenwukanbanByzhuangtai(Integer zhuangtai) {
        return renwukanbanMapper.getrenwukanbanByzhuangtai(zhuangtai);
    }

    @Override
    public List<Renwukanban> gethg() {
        return renwukanbanMapper.gethg();
    }


}
